package com.kyrioscraft.cloud.thead.jdklab.tools.singletom;

/**
 * @Author kyrioscraft
 * @Date 2019/2/22 10:38
 * @Description 饿汉式
 **/
public class Singletom {
    private Singletom() {
        System.out.println("Simgletom is create");
    }
    private static Singletom instance = new Singletom();

    public static Singletom getInstance() {
        return instance;
    }
}
